/**
 * 
 */
package sailing.managers.impl;

import java.util.List;

import cjlite.annotations.Inject;
import sailing.dao.BankAccountDao;
import sailing.entity.BankAccount;
import sailing.managers.BankAccountManager;


/**
 * @author ming
 *
 */
public class BankAccountManagerImpl implements BankAccountManager {
	
	@Inject
	private BankAccountDao baDao;

	/* (non-Javadoc)
	 * @see sailing.managers.BankAccountManager#save(sailing.entity.BankAcount)
	 */
	@Override
	public boolean save(BankAccount ba) {
		return baDao.save(ba);
	}

	@Override
	public List<BankAccount> getAllBankAccountList() {
		return baDao.getAllBAList();
	}

}
